type go/types.genericType
7 uses
go/types (current package)
instantiate.go#L21: type genericType interface {
instantiate.go#L58: orig_, ok := orig.(genericType) // signature of Instantiate must not change for backward-compatibility
instantiate.go#L97: func (check *Checker) instance(pos token.Pos, orig genericType, targs []Type, expanding *Named, ctxt *Context) (res Type) {
object.go#L591: case genericType:
signature.go#L235: if g, _ := baseType.(genericType); g != nil && g.TypeParams() != nil {
typexpr.go#L414: gtyp := typ.(genericType)
typexpr.go#L427: inst, _ := ityp.(genericType)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)